<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加学生</title>
    <%@include file="/link/link-head.jsp" %>
</head>
<body>
<form action="${pageContext.request.contextPath}/student/add" method="post">
    <input type="hidden" name="tid" value="${sessionScope.teacher.teacherId}">
    <table>
        <tr>
            <td>学生姓名</td>
            <td><input type="text" name="sName"></td>
        </tr>
        <tr>
            <td>学生性别</td>
            <td>
                <input type="radio" name="sGender" value="男" checked="checked">男 &nbsp;&nbsp;
                <input type="radio" name="sGender" value="女">女
            </td>
        </tr>
        <tr>
            <td>学生成绩</td>
            <td><input type="text" name="sScore"></td>
        </tr>
        <tr>
            <td>是否党员</td>
            <td>
                <select name="sDy">
                    <option value="0" selected="selected">不是</option>
                    <option value="1">是</option>
                </select>
            </td>
        </tr>
        <tr>
            <td>学生生日</td>
            <td><input type="date" name="sBirthday"></td>
        </tr>
    </table>
    <%--传入分页--%>
    <input type="hidden" name="pageNum" value="${pageBean.currentPage}">
    <button type="submit">添加</button>&nbsp;&nbsp;&nbsp;<a href="/show.jsp">返回上一步</a>
</form>
</body>
</html>
